<?php

namespace common\models\Rezstand;

use Yii;

/**
 * This is the model class for table "rezstand".
 *
 * @property integer $rez_id
 * @property string $rez_name
 */
class Rezstand extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'rezstand';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['rez_name'], 'required'],
            [['rez_name'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'rez_id' => Yii::t('app', '中国标准分类号列表'),
            'rez_name' => Yii::t('app', '中国标准分类号'),
        ];
    }
}
